package br.com.searchpeople.model;

import android.graphics.Bitmap;

public class PostModel {
	
	private String name;
	private String description;
	private int id;
	private String country;
	private String state;
	private String city;
	private String phone;
	private String email;
	private Bitmap img;
	private double latitude;
	private double longitude;
	private int id_user;
	private String date;
	
	public PostModel(){}
	
	public PostModel(String name, String description, String country, String state, String city, String phone, String email, Bitmap img, double latitude, double longitude, int id_user) {

		super();
		this.name = name;
		this.description = description;
		this.country= country;
		this.state = state;
		this.city = city;
		this.phone = phone;
		this.email = email;
		this.setImg(img);
		this.latitude = latitude;
		this.longitude = longitude;
		this.setId_user(id_user);
	}
	
	public void setDate(String date) {
		this.date = date;
	}
	
	public String getDate() {
		return this.date;
	}
	
	public String getCountry() {
		return country;
	}


	public void setCountry(String country) {
		this.country = country;
	}


	public String getState() {
		return state;
	}


	public void setState(String state) {
		this.state = state;
	}


	public String getCity() {
		return city;
	}


	public void setCity(String city) {
		this.city = city;
	}


	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getId(){
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}	
	
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return this.description;
	}

	public Bitmap getImg() {
		return img;
	}

	public void setImg(Bitmap img) {
		this.img = img;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public int getId_user() {
		return id_user;
	}

	public void setId_user(int id_user) {
		this.id_user = id_user;
	}
	
}
